package ysu.sxm.ptjc.Dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import ysu.sxm.ptjc.pojo.AccountInfo;
import ysu.sxm.ptjc.pojo.ProduceStatisticalInfo;

import java.util.List;

@Repository
@Mapper
public interface AccountInfoDao {
    List<AccountInfo> queryAccountInfoList();
    AccountInfo findAccountById(int id);
    List<AccountInfo> findAccountByProduceStatisticalInfos(@Param("id") List<ProduceStatisticalInfo> produceStatisticalInfos);
//    void saveAccountInfo(AccountInfo accountInfo);
}
